package com.example.mr5.mygame.gameCatchCat;

/**
 * Created by Mr.5
 * Date：2016/5/8.
 * Time：14:18
 */
public class Dot {
	private int x,y;	//圆点的坐标
	private int status;	//圆点的状态：空闲、关闭、猫所在位置
	
	public static final int STATUS_ON = 1;
	public static final int STATUS_OFF = 0;
	public static final int STATUS_CAT = -1;
	
	public Dot(int x, int y) {
		super();
		this.x = x;
		this.y = y;
		this.status = STATUS_ON;		//初始为开启
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public void setXY(int x,int y){
		this.x = x;
		this.y = y;
	}
	
}
